package com.mayuhao.userteacher.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mayuhao.userteacher.entity.CssChooseCourse;
import com.mayuhao.userteacher.entity.CssStudentVO;
import com.mayuhao.userteacher.entity.UserTeacher;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 马宇豪
 * @since 2022-10-27
 */
public interface IUserTeacherService extends IService<CssChooseCourse> {
    /**
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.mayuhao.userteacher.entity.UserTeacher>
     * @description 请修改方法描述
     * @methodName findPage
     * @params [pageNum, pageSize, searchId, searchName]
     * @paramType [java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String]
     * @author 马宇豪
     * @date 2022/10/31 0031 下午 2:07
     * @email 1757442521@qq.com
     **/
    Page<UserTeacher> teacherCourse(Integer pageNum, Integer pageSize, String teacherId, String searchId, String searchName);

    /**
     * @return java.util.List<com.mayuhao.userteacher.entity.UserTeacher>
     * @description 请修改方法描述
     * @methodName selectCourse
     * @params [teacherId]
     * @paramType [java.lang.String]
     * @author 马宇豪
     * @date 2022/10/31 0031 下午 4:38
     * @email 1757442521@qq.com
     **/
    List<UserTeacher> selectCourse(String teacherId);


    /**
     * @return java.util.List<com.mayuhao.userteacher.entity.CssStudentVO>
     * @description 请修改方法描述
     * @methodName boundStudent
     * @params [courseId]
     * @paramType [java.lang.String]
     * @author 马宇豪
     * @date 2022/10/31 0031 下午 5:26
     * @email 1757442521@qq.com
     **/
    Page<CssStudentVO> boundStudentPage(Integer pageNum, Integer pageSize, String courseId, String searchId, String searchName);

    /**
     * @return boolean
     * @description 请修改方法描述
     * @methodName myUpdate
     * @params [chooseCourse]
     * @paramType [com.mayuhao.userteacher.entity.CssChooseCourse]
     * @author 马宇豪
     * @date 2022/10/31 0031 下午 8:49
     * @email 1757442521@qq.com
     **/
    boolean myUpdate(CssChooseCourse chooseCourse);
}
